package matlap.client.services.task;

import java.util.List;

import matlap.shared.Task;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("task")
public interface TaskService extends RemoteService {
	boolean insertTask(Task task);

	List<Task> getTaskByUserName(String userName);

	List<Task> getTasks();

	int getTasksNumber();
}